package com.lucher.mes.dao;

import java.util.List;

import com.lucher.mes.po.Product;
import com.lucher.mes.po.Tool;

public interface ToolMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Tool record);

    int insertSelective(Tool record);

    Tool selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Tool record);

    int updateByPrimaryKey(Tool record);
    
    //自定义接口
    List<Tool> findByList(Tool record);
    List<Tool> findByListForPage(Tool record);
    int findByCount(Tool record);
    Tool findByToolcode(String toolcode);
    Tool findByToolname(String toolname);
}